Regular Expressions: Difference between revisions

From Simple Wiki
No edit summary
No edit summary
Line 8: Line 8:


Be sure to select the '''JavaScript/ECMAScript''' as your RegEx "flavor" to match the feature set and results you will get with SimpleIndex.
Be sure to select the '''JavaScript/ECMAScript''' as your RegEx "flavor" to match the feature set and results you will get with SimpleIndex.
Another good way to find RegEx examples is to simply google "regex" or "regular expression" plus the type of data you are trying to capture.
For example:
* Email address regular expression
* Phone number regular expression
* Street address regular expression
* City state zip regular expression
* US Canada zip code regular expression
* UK zip code regular expression

Revision as of 20:53, 14 January 2022

Template matching can use RegEx or Regular Expressions to perform complex pattern matching on text.

A full explanation of how to use the RegEx language is beyond the scope of this wiki. There is a ton of information out there if you Google it. But unless you are a programmer or already know RegEx, it will be much faster to use our simplified template format or contract our professional services to configure it for you.

A great tool for testing Regular Expressions is RegEx Buddy. This is what we use to build and test RegEx but there is unfortunately no free version.

RegEx 101 has an online regular expressions tester.

Be sure to select the JavaScript/ECMAScript as your RegEx "flavor" to match the feature set and results you will get with SimpleIndex.

Another good way to find RegEx examples is to simply google "regex" or "regular expression" plus the type of data you are trying to capture.

For example:

  • Email address regular expression
  • Phone number regular expression
  • Street address regular expression
  • City state zip regular expression
  • US Canada zip code regular expression
  • UK zip code regular expression