DeaDvey's domain

[Home page](/index.md)  [Blogs](/blog/index.md)  [Resources](/resources/index.md)
---

***Regex/Sed:***

**Useful resources:**
- [regex101](https://regex101.com/), Helps to test regex patterns

**Features:**
- Alternative Delimiter
	- You don't have to use / as a delimiter
	- you can use #, @ or something else
- Backreferencing,
	- you can capture a bit of text in the pattern section, with (.*) 
	- then backreference it's index in the repalce part with \1, \2, \3...:
%%%
	s#"(.*)"#'\1'#

	// Input:
	"hello"
	"how are you?"
	"good"

	//Output
	'hello'
	'how are you?'
	'good'
%%%