Collections:
Regular Expression Pattern Match
How to perform regular expression pattern match?
To perform a regular expression pattern match, you need to write a pattern string in regular expression language. Then you need to apply the pattern to the subject string with a tool, which returns the first full match and sub matches.
FYIcenter.com has designed this online tool for you to perform regular expression pattern match. All you need to do is to enter your subject string, the pattern and the modifier. Then click the "Submit" button. The first full match with sub-matches will be displayed in the result area.
✍: FYIcenter.com
Matches returned by FYIcenter.com:
Full Match: | |
Sub Match 1: | |
Sub Match 2: |
"Full Match" is the matched full text of first match occurrence from the subject string.
What is a regular expression language?
Regular expression languages specifies how to write a regular expression pattern. It uses a combination of regular characters, wildcard characters, groups, logical operations, and other logics.
For example, "^(http:\/\/)?[^\/]+" is a regular expression that represents a pattern to match the base URL of any Web page URL.
To learn more about regular expression, visit Regular Expression Information Center.
⇒ Regular Expression Pattern Match Multiple Occurrences
⇐ Regular Expression Match and Replace
⇑ Regular Expression Match and Replace
⇑⇑ Online Tools
2018-01-13, 6508🔥, 0💬
Popular Posts:
How to generate ISBN numbers? To help you to obtain some ISBN numbers for testing purpose, FYIcenter...
How to force JMeter to automatically flush test result to file immediately after each sampler is exe...
How to perform regular expression pattern match with multiple occurrences? To perform a regular expr...
How to set Content-Type to application/json? The server requires the Content-Type to be application/...
How to set Content-Type to application/json? The server requires the Content-Type to be application/...