RegularRegExpressionsEx101
Show Sidebar
Library entries
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 6 hours ago
replace variable with accessor
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
golang
Submitted by anonymous - 10 hours ago
Lxx Wurzel
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - a day ago
stardust pdp uk en us
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - a day ago
Stardust: NL DE US GB ES promo page
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - a day ago
Ghasedak RECEIVE SMS Packet HTTP
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
python
Submitted by anonymous - a day ago
ffmppeg
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - a day ago
UserConfiguration.xml
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 2 days ago
US Cellphone Match
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 2 days ago
consnum
Partner2 access log Nginx
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 2 days ago
need to ask partial
no description available
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
javascript
Submitted by anonymous - 2 days ago
Export WP
no description available
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 3 days ago
Resolvers
APD SFs too general
0
0 upvotes, 0 downvotes (NaN% like it) (You must be signed in to vote)
pcre
Submitted by anonymous - 3 days ago
Carfax job name
no description available
Library Entry
Close
Multilingual Website finding, information-extractive, regex. VERY USEFUL. NO CREDIT NEEDED
javascript
/
(([\w\.]+)(\.[^/\n]+)\/?(.*\/?)*)
/
gm
Description

Website finder

Author: Bryan Hu

What does this does

This can give you very useful information about the sites this regex extracts. It can extract the main domains of a variety of sites, give you useful information such as suffix, main domain name, and slash-extensions (i dunno what they are called). But remember: all of this in a single regex.

How can I use this

Use this all you want, no credit needed.

Examples of usage

  • Finding links and getting information
  • Extracting all the links on a page
  • To be copied (Yeah, cuz why not?)

Can I leave now?

There's nothing more to read. You can go!

Submitted by Bryan Hu - a month ago
Discussion