Regular Expressions 101

Sponsors

Library entries

1
pcre2

Domain Validator

Regex to validate domain/website
Submitted by Amir hossein Karimi - 2 months ago
1
pcre2

refactoring

for refactoring Kotlin tests
Submitted by nikita.bols - a month ago
1
pcre2

Custom Commit ReGex

Custom Commit ReGex Test
Submitted by Kewal Rathod - 19 hours ago
2
python

lottery data picker

for azlottoapi
Submitted by anonymous - a year ago
2
python

IpAddress

Ensure the ip address format is correct
Submitted by aaa - a year ago
2
pcre2

Dutch zipcodes

no description available
Submitted by anonymous - a year ago

white space before punctuations, outside script and code tags

Vote

3

Regular Expression
pcre

/
(?!<(script|code)[^>]*?>)((\s)(\?|\!|\;|\:))(?![^<]*?<\/(script|code)>)
/
gi

Description

Loading markdown...
Submitted by ced - 7 years ago