You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

SRP_Regex provides services to easily parse or pattern match strings in OpenInsight.

Added in 2.2.3

Regex Patterns

A regex pattern is a mini-language unto itself that is often confusing to look at, even for those used to it. SRP_Regex uses the same syntax as Javascript, so your best bet is to find an online tool to help you craft and test your regex patterns. A great resource is Regex101.com. Make sure to select ECMAScript (Javascript) as your regex flavor.

Reference

ServiceDescriptionVersion Added
ExtractExtracts the first pattern match from a string.2.2.3
ExtractAllExtracts all pattern matches from a string.2.2.3
MatchDetermines if the entire string matches the given pattern.2.2.3
Search

Finds the first pattern match in a string.

2.2.3
SearchAllFinds all pattern matches in a string.2.2.3
  • No labels