RegularRegExpressionsEx101
@regex101
Follow me on twitter!
Donate
Like regex101? Support it by donating!
Sponsor
Become a sponsor!
Contact
Send me an email
Bug Reports & Feedback
Bugs or suggestions go here
Wiki
Wiki (Info & FAQ)
Whats new?
Whats new?
Show Sidebar
Library entries
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - an hour ago
Get Hash Tags from tweet
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by Zac - 2 hours ago
Test
TEst
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 17 hours ago
get all digits in sequence
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 18 hours ago
viptela
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Submitted by anonymous - 19 hours ago
Sample Data - Single Job Number
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 20 hours ago
Coronadashboard vaccinatie buildID
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - a day ago
Add "r" to middle of column name
Used this in the L2C data
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - a day ago
testi1
no description available
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - a day ago
Limpar Comentários
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Submitted by anonymous - 2 days ago
Not capture if : or @
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by anonymous - 2 days ago
TP
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by anonymous - 2 days ago
TP
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 2 days ago
Remove File Links Excel
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 3 days ago
bin dec
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 4 days ago
for loop with customfield,
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Submitted by Moep - 4 days ago
Custom IFrame SRC Grabber
no description available
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Submitted by sdf - 5 days ago
Log Scan Sample
no description available
Library Entry
Telephone number : strict international section, flexible local section for wider international and allows spaces for visual formatting
javascript
/
^(((((\+)|(00))[1-9][0-9]{0,2})?( )?)|(0))[1-9][0-9 ]{5,}$
/
gm
Description

Telephone number

strict international section :- starting with '+' or '00' flexible local section for wider international and allows spaces for visual formatting

Close enough for many requirements. Tweak to match your country/circumstances better.


Matches:

+1 123456 001 123456 001123456 +1123456 +32 123456 +32 123 456 0032 123456 +32 123 456 +32123456 00354 123456 +354 123456 +354123456


Submitted by PS - a year ago
Discussion