Home

Photography

Ethics

Politics

Ideas

Technology

Academic

Blog

Pete Bagnall

Javascript Regex tester

Pattern:

Global           Case insensitive           Multiline
Javascript pattern literal: /(@import)([\s])(url\([a-z\/]*)/
new RegExp syntax: new RegExp("(@import)([\\s])(url\\([a-z/]*)","")

Test String:

Result

@import url(/documents/proxy
@import

url(/documents/proxy


© Peter Bagnall