- This action first finds the substrings that start with start and end with end in the given string string.
- It then extracts the substring between the start and end substrings from the result of the previous step.
- The start and end substrings are specified as arguments to the action.
- The action returns the substring between the start and end substrings, excluding the start and end substrings themselves.
Required The input string
Required The starting substring to search for
Required The ending substring to search for
Optional Default string to return if the desired string is not found
- The substring between the start and end substrings (excluding the start and end substrings themselves)
uses: spassai/get-between-action
with:
string: '<div><p>Hello</p></div>'
start: '<p>'
end: '</p>'