Skip to content

Simple module to allow using regular expression replacing via liquid filters

License

Notifications You must be signed in to change notification settings

joshdavenport/jekyll-regex-replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jekyll Regex Replace

Simple module to allow using regular expression replacing via liquid filters

{{ '1-a-test' | regex_replace: '^[0-9]*-', '' }}

or

{{ '1-a-test-2-a-test' | regex_replace_once: '[0-9]*-', '' }}

Install

Add the following to your Gemfile and then run bundle install.

gem 'jekyll-regex-replace'

About

Simple module to allow using regular expression replacing via liquid filters

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages