Example: I want to search for an element with an id that starts with [id^=starting] and ends with [id$=ending]. (Couldn't find existing question so making my own and answering it)
This will get an element which starts with the specified string AND ends with the specified string.
Edit: And to do an "OR", put a space between them:
©2020 All rights reserved.