Regular Expressions 101

Community Patterns

0

Url handling

Python
Simple regex to split url
Submitted by Hangfish - a year ago
0

mr regexp

ECMAScript (JavaScript)
Рег
Submitted by anonymous - a year ago

replace directive with iife

1

Regular Expression
ECMAScript (JavaScript)

/
var .*?Scope.*?=[\s\S]*?{([\s\S]*?)};[\s\S]*?var .*?Directive.*?=[\s\S]*?{([\s\S]*?)};[\s\S]*?encModule.directive\(['"](.*?)['"][\s\S]*
/

Description

Loading markdown...
Submitted by anonymous - 8 years ago